keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions on Asterisk with SS7 Chinese variant. (有关Asterisk+中国七号信令的问题)

D430E 安装七号信令问题

12 years 2 months ago #7793 by chunlei.yi
/etc/dahdi/system.conf 设置更改如下:

# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-31

opc和dpc更改如下
opc=>0x13148B
dpc=>
ls1: 0x131054
12 years 2 months ago #7795 by gd5gd
首先谢谢你的回覆,之前问题解决了,但还是不能用,新问题回报 "No SLTA received within Q.707 timer T1, faulting link on link 'l1'", log 记录如下:

[Feb 15 13:08:57] DEBUG[15054] mtp.c: Proving successful on link 'l1'.
[Feb 15 13:08:57] NOTICE[15054] mtp.c: Sending TRA to peer on link 'l1'....
[Feb 15 13:08:57] DEBUG[15054] mtp.c: Sending buffer to dahdi len=12, on link 'l1' bsn=127, fsn=0.
[Feb 15 13:08:57] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=127, fsn=1.
[Feb 15 13:08:57] DEBUG[15054] mtp.c: Got MSU on link 'l1' sio=1 slc=5 m.sls=0 bsn=1/1, fsn=1/0, sio=81, len=20: 8b 14 13 54 10 13 00 11 a0 aa aa aa aa aa aa aa aa aa aa
[Feb 15 13:08:57] NOTICE[15054] mtp.c: Using subservice field from incoming MSU: 0x8
[Feb 15 13:08:57] DEBUG[15054] mtp.c: Got SLTM, OPC=1249364 DPC=1250443, sending SLTA 'l1', state=5.
[Feb 15 13:08:57] DEBUG[15054] mtp.c: Sending buffer to dahdi len=23, on link 'l1' bsn=0, fsn=2.
[Feb 15 13:09:05] DEBUG[15054] mtp.c: Got MSU on link 'l1' sio=4 slc=5 m.sls=0 bsn=1/2, fsn=1/1, sio=84, len=11: 8b 14 13 54 10 13 21 00 98 0e
[Feb 15 13:09:05] DEBUG[15054] mtp.c: Got MSU on link 'l1' sio=4 slc=5 m.sls=0 bsn=1/2, fsn=1/2, sio=84, len=11: 8b 14 13 54 10 13 21 00 98 0e
[Feb 15 13:09:05] DEBUG[15054] mtp.c: Got MSU on link 'l1' sio=4 slc=5 m.sls=0 bsn=1/2, fsn=1/3, sio=84, len=11: 8b 14 13 54 10 13 31 00 98 0e
[Feb 15 13:09:05] DEBUG[15054] mtp.c: Got MSU on link 'l1' sio=4 slc=5 m.sls=0 bsn=1/2, fsn=1/4, sio=84, len=11: 8b 14 13 54 10 13 31 00 98 0e
[Feb 15 13:09:06] WARNING[15054] mtp.c: No SLTA received within Q.707 timer T1, trying again on link 'l1'.
[Feb 15 13:09:06] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=4, fsn=3.
[Feb 15 13:09:15] ERROR[15054] mtp.c: No SLTA received within Q.707 timer T1, faulting link on link 'l1'.
[Feb 15 13:09:15] WARNING[15054] chan_ss7.c: MTP is now DOWN on link 'l1'.
[Feb 15 13:09:15] NOTICE[15054] mtp.c: MTP changeover last_ack=3, last_sent=3, from schannel 15, no INSERVICE schannel found
[Feb 15 13:09:15] NOTICE[15054] mtp.c: Failover not possible, no other signalling link and no other host available.
[Feb 15 13:09:15] DEBUG[15054] mtp.c: Fail on link 'l1'.
[Feb 15 13:09:15] DEBUG[15054] mtp.c: Entering proving state for link 'l1'.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Proving successful on link 'l1'.
[Feb 15 13:09:16] NOTICE[15054] mtp.c: Sending TRA to peer on link 'l1'....
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=12, on link 'l1' bsn=127, fsn=4.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=127, fsn=5.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=12, on link 'l1' bsn=127, fsn=0.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=127, fsn=1.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=23, on link 'l1' bsn=127, fsn=2.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=127, fsn=3.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=12, on link 'l1' bsn=127, fsn=4.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Got MSU on link 'l1' sio=1 slc=5 m.sls=0 bsn=0/127, fsn=1/0, sio=81, len=20: 8b 14 13 54 10 13 00 11 a0 aa aa aa aa aa aa aa aa aa aa
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Got SLTM, OPC=1249364 DPC=1250443, sending SLTA 'l1', state=5.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=0, fsn=5.
[Feb 15 13:09:16] DEBUG[15054] mtp.c: Sending buffer to dahdi len=23, on link 'l1' bsn=0, fsn=6.
[Feb 15 13:09:25] WARNING[15054] mtp.c: No SLTA received within Q.707 timer T1, trying again on link 'l1'.
[Feb 15 13:09:25] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=0, fsn=7.
[Feb 15 13:09:34] ERROR[15054] mtp.c: No SLTA received within Q.707 timer T1, faulting link on link 'l1'.
[Feb 15 13:09:34] WARNING[15054] chan_ss7.c: MTP is now DOWN on link 'l1'.
[Feb 15 13:09:34] NOTICE[15054] mtp.c: MTP changeover last_ack=7, last_sent=7, from schannel 15, no INSERVICE schannel found
[Feb 15 13:09:34] NOTICE[15054] mtp.c: Failover not possible, no other signalling link and no other host available.
[Feb 15 13:09:34] DEBUG[15054] mtp.c: Fail on link 'l1'.
[Feb 15 13:09:34] DEBUG[15054] mtp.c: Entering proving state for link 'l1'.
[Feb 15 13:09:34] DEBUG[15054] mtp.c: Proving successful on link 'l1'.
[Feb 15 13:09:34] NOTICE[15054] mtp.c: Sending TRA to peer on link 'l1'....
[Feb 15 13:09:34] DEBUG[15054] mtp.c: Sending buffer to dahdi len=12, on link 'l1' bsn=127, fsn=8.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=127, fsn=9.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=12, on link 'l1' bsn=127, fsn=0.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=127, fsn=1.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=23, on link 'l1' bsn=127, fsn=2.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=127, fsn=3.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=12, on link 'l1' bsn=127, fsn=4.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=127, fsn=5.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Got MSU on link 'l1' sio=1 slc=5 m.sls=0 bsn=0/127, fsn=1/0, sio=81, len=20: 8b 14 13 54 10 13 00 11 a0 aa aa aa aa aa aa aa aa aa aa
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Got SLTM, OPC=1249364 DPC=1250443, sending SLTA 'l1', state=5.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=23, on link 'l1' bsn=0, fsn=6.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=0, fsn=7.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=12, on link 'l1' bsn=0, fsn=8.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=28, on link 'l1' bsn=0, fsn=9.
[Feb 15 13:09:35] DEBUG[15054] mtp.c: Sending buffer to dahdi len=23, on link 'l1' bsn=0, fsn=10.

另外想问问你的 dsp 和 osp 值是如何算出来,谢谢。

Frankie
12 years 2 months ago #7796 by chunlei.yi
[link-l1]下面填加 sltm => no试下,如果仍有问题,提供ssh给我。我的邮箱:This email address is being protected from spambots. You need JavaScript enabled to view it.
[link-l1]
linkset => ls1
channels => 1-15,17-31
schannel => 16
firstcic => 33
enabled => yes
sltm => no
echocancel => no
echocan_train => 350
echocan_taps => 128
12 years 2 months ago #7797 by gd5gd
还是不成,系统日志显示 :
[Feb 16 01:23:47] NOTICE[23850] l4isup.c: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=33.
[Feb 16 01:23:47] NOTICE[23850] l4isup.c: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=49.

因这台服务器还没有对外的资源,暂未能提供 ssh 帐户,我会尽快想办法弄些资源对外,谢谢。
12 years 2 months ago #7805 by gd5gd
尝试出 call 时系统日志如下:

[Feb 16 23:33:34] NOTICE[32275] l4isup.c: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=33.
[Feb 16 23:33:34] DEBUG[32275] l4isup.c: Queue packet CIC=33, len=13, linkset='ls1', link='l1', slinkset='ls1', slink='l1'
[Feb 16 23:33:34] NOTICE[32275] l4isup.c: T22 timeout (No "circuit group reset acknowledge" from peer) CIC=49.
[Feb 16 23:33:34] DEBUG[32275] l4isup.c: Queue packet CIC=49, len=13, linkset='ls1', link='l1', slinkset='ls1', slink='l1'
[Feb 16 23:33:34] DEBUG[32275] mtp.c: Queue MSU, lsi=0, last_send_ix=0, linkset=ls1, m->link=l1
[Feb 16 23:33:34] DEBUG[32275] mtp.c: Queue MSU, lsi=0, last_send_ix=0, linkset=ls1, m->link=l1
[Feb 16 23:33:34] DEBUG[32275] mtp.c: Sending buffer to dahdi len=17, on link 'l1' bsn=0, fsn=4.
[Feb 16 23:33:34] DEBUG[32275] mtp.c: Sending buffer to dahdi len=17, on link 'l1' bsn=0, fsn=5.
[Feb 16 23:33:36] DEBUG[32363] l4isup.c: SS7 request (ss7/13751xxxxxx) format = 0x8.
[Feb 16 23:33:36] WARNING[32363] l4isup.c: No idle circuit found.
[Feb 16 23:33:36] WARNING[32363] l4isup.c: SS7 requester: No idle circuit available.
[Feb 16 23:33:36] NOTICE[32363] channel.c: Unable to request channel ss7/13751xxxxxx
[Feb 16 23:33:36] VERBOSE[32363] logger.c: -- Remote UNIX connection disconnected

请问 chan_dahdi.conf 是否也要做设置呢?

Frankie
12 years 2 months ago #7814 by gd5gd
联络中国电讯后告知该 E1 只支援 TUP,从你们的销售员获得支援 TUP 的 1.3 版本,编译过程正常,在 console 下执行 ss7 link status 及 ss7 linestat 均显示正常,以 asterisk originate 发出一个测试 call 时出现下列错误信息,烦请帮忙看看那里出错。

asterisk -rx 'originate ss7/siuc/139xxxxxxxx extension 709394@mytest'

/usr/sbin/safe_asterisk: line 118: 24866 Segmentation fault (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.

谢谢

Frankie
Time to create page: 0.050 seconds
Powered by Kunena Forum